import request from "@/utils/request";
const home = "/home";

// 病例统计
export function queryBltj(data) {
  return request({
    url: `${home}/queryBltj`,
    method: "post",
    data: data,
  });
}

// 性别统计
export function queryXbtj(data) {
  return request({
    url: `${home}/queryXbtj`,
    method: "post",
    data: data,
  });
}

// 年龄段分布
export function queryNlfb(data) {
  return request({
    url: `${home}/queryNlfb`,
    method: "post",
    data: data,
  });
}

// 年龄段分布
export function queryNlfbList(data) {
  return request({
    url: `${home}/queryNlfbList`,
    method: "post",
    data: data,
  });
}

// 病种分布
export function queryBzfb(data) {
  return request({
    url: `${home}/queryBzfb`,
    method: "post",
    data: data,
  });
}

// 门急诊诊断TOP10
export function queryMjzzdfbTop10(data) {
  return request({
    url: `${home}/queryMjzzdfbTop10`,
    method: "post",
    data: data,
  });
}

// 住院诊断TOP10
export function queryZyzdTop10(data) {
  return request({
    url: `${home}/queryZyzdTop10`,
    method: "post",
    data: data,
  });
}
